package com.lanou.activity.exception;

/**
 * @author lanouhn 书豪
 * @description 企划异常
 * @create 17/9/25
 */
public class PlainException extends Exception {

    private Integer code;

    private String msg;

    public PlainException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Integer code, String msg) {
        super(message, cause, enableSuppression, writableStackTrace);
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
